﻿function getMapPosition(address)
{
	var geocoder = new GClientGeocoder();
	
    geocoder.getLatLng(address,function(point){
		if (point) 
		{
			alert(point.x);
		}
		else
		{
			alert("查询不到【" + address + "】的定位信息!");
		}
    })
}